package db

import "time"

type Activity struct {
	Id      int       `json:"id"`
	Title   string    `json:"title"`
	Content string    `json:"content"`
	Link    string    `json:"link"`
	Picture string    `json:"picture"`
	EndTime time.Time `json:"end_time"`
}

func (Activity) TableName() string {
	return "activitys"
}
